<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="<?=domain?>static/style/union.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?=domain?>static/script/core.js" charset="utf-8"></script>
<script type="text/javascript" src="<?=domain?>static/script/user.js" charset="utf-8"></script>
<title><?=name?></title>
<meta name="keywords" content="<?=keywords?>" />
<meta name="description" content="<?=description?>" />
<meta name="author" content="www.cnadlm.com" />
<body>
<div class="nav">
	<div class="list">
		  <ul>
		  	<?php
		  	foreach($menu as $key=>$value){
		  	?>
		  	<li><a href="<?=($value['value'])?>"><?=$value['name']?></a></li>
		  	<?php
		  	}
		  	?>
		  </ul>
	</div>
</div>
<div class="main">
	<div class="logo"><a href="<?=domain?>"><img src="<?=domain?>static/image/Logo.png"></a></div>
	<div class="content">
		<div class="left">
			<div class="slide">
				<?php
				foreach($slide as $value){
					echo '<div class="item"><img src="'.domain.'static/image/'.$value['value'].'"></div>';
				}
				?>
				<div class="control">
					<?php
					foreach($slide as $key=>$value){
						echo '<span class="'.($key==0?'on':'').'">'.($key+1).'</span>';
					}
					?>
				</div>
			</div>
			<script language="JavaScript" type="text/javascript">slider();</script>
			<div class="buddy">
				<div class="title"><img src="<?=domain?>static/image/liuc_t.jpg"></div>
				<div class="list">
					<img src="<?=domain?>static/image/liuc.jpg" width="100%" height="100%">
				</div>
			</div>
			<div class="copartner">
				<div class="title"><img src="<?=domain?>static/image/liangmen2.png"></div>
				<div class="list">
					<div class="mode">
						<div class="hword">智能广告</div>
						<div class="cular">通过在联盟添加广告位获取广告代码放置在对应广告位,即可进行嵌入、弹窗、对联等形式广告展示，用户通过点击广告并产生订单即可轻松赚取高佣金收益。</div>
					</div>
					<div class="mode">
						<div class="hword">网店代下</div>
						<div class="cular">如果您有自己的网上店铺，就可以在您的店铺中代销。您只需要收集订单并利用联盟与商城账户绑定代客下单，在确认订单完成之后，就可以轻松增加店铺佣金收益。</div>
					</div>
					<div class="mode x">
						<div class="hword">自定义链接</div>
						<div class="cular">根据自己广告位尺寸,类型设置文字或者图片形式的广告链接,即可轻松进行广告投放。</div>
					</div>
				</div>
			</div>
		</div>
		<div class="right">
			<div class="module" style="height:298px;display:none;" id="login">
				<form name="home" method="post" action="<?=domain?>action/login.php" onsubmit="return Chome();">
				<div class="bar"><div>用户登录</div></div>
				<div class="login">
					<div class="input" style="margin-top:30px;">
						<div class="w">帐&nbsp;&nbsp;号：&nbsp;</div>
						<div class="i"><input type="text" name="mail" value="请输入邮箱地址" maxlength="60" style="color:#B4B4B4;"/></div>
					</div>
					<div class="input" style="margin-top:10px;">
						<div class="w">密&nbsp;&nbsp;码：&nbsp;</div>
						<div class="i"><input type="password" name="password" value="" maxlength="32"/></div>
					</div>
					<div class="input" style="margin-top:10px;">
						<div class="w">验证码：&nbsp;</div>
						<div class="i v"><input type="text" name="captcha" maxlength="4" value=""/></div>
						<div class="m"><img lz_src="<?=domain?>action/captcha.php" id="captcha"></div>
					</div>
					<div class="input" style="margin-top:10px;">
						<div class="w s"><input type="submit" name="name" value="登录" class="bg"/></div>
						<div class="w f"><a href="<?=domain?>view/forget.php">忘记密码了?</a></div>
					</div>
				</div>
				<div class="enrol"><a href="<?=domain?>view/Enrol.php" class="button">免费快速注册</a></div>
				<div class="msg">加盟<?=$this->config['Site']['name']?>,快速拥有高额奖金.</div>
				</form>
			</div>
			<script type="text/javascript" src="<?=domain?>action/hello.php" charset="utf-8"></script>
			<div class="module" style="margin-top:15px;">
				<div class="bar"><div>最新公告</div></div>
				<div class="publish">
					<?php
					foreach($publish as $value){
						echo '<div class="tr">•&nbsp;<a href="'.(domain.'view/publish.php?id='.$value['id']).'">'.$value['title'].'</a></div>';
					}
					?>
		        </div>
			</div>
		</div>
	</div>
	<div class="footer">
		<?=$foot?>
	</div>
</div>
</body>
</html>
<script language="JavaScript" type="text/javascript">
(function(){
	var match=location.href.match(/track=(\d|[A-F]){50}/ig);
	if(match==null){if(window.top){match=window.top.location.href.match(/track=(\d|[A-F]){50}/ig);}}
	if(match!=null){
		var track=document.createElement('script'),match=match[0];
		with(track){type='text/javascript';src="http://i.inaoke.com/track.php?action=reach&track="+match.substr(38,8)+"&pt="+match.substr(46,10);};
		var s=document.getElementsByTagName('head')[0];
		s.appendChild(track);
	}
})();
</script>